#ifndef SKYPE_H
#define SKYPE_H

#include <string>
#include "NetworkPlugin.h"
#include <conio.h>
#include <stdio.h>
#include <string.h>
#include <process.h>
#include <windows.h>
#include <rpcdce.h>


class Skype : public NetworkPlugin
{
    public:
        Skype();//dodano
        ~Skype();
        /*
        bool Global_Console_ReadRow( char *pacPromptBuffer, unsigned int uiMaxLength);
        void Global_Console_CancelReadRow(void);
        LRESULT APIENTRY SkypeAPITest_Windows_WindowProc(HWND hWindow, UINT uiMessage, WPARAM uiParam, LPARAM ulParam);
        void DeInitialize_DestroyWindowClass(void);
        bool Initialize_CreateMainWindow(void);
        void DeInitialize_DestroyMainWindow(void);
        void Global_MessageLoop(void);
        void __cdecl Global_InputProcessingThread(void *);
        bool connected; //Czy polaczylismy sie, true albo false
        void polacz(); //podlaczenie pod skype'a
        void pobierz(); //funkcja pobierajaca komunikaty...
        void startChat(std::string id); //rozpoczyna rozmowe z uzytkownikiem o id
        void sendMSG(std::string id,std::string message); //wysyla wiadomosc
        std::string chatID;
        bool Initialize_CreateWindowClass(void);
        void visible(bool widoczny);
        */


    private:
        /*
        HWND hInit_MainWindowHandle;
        HINSTANCE hInit_ProcessHandle;
        char acInit_WindowClassName[128];
        HANDLE hGlobal_ThreadShutdownEvent;
        bool volatile fGlobal_ThreadRunning;
        UINT uiGlobal_MsgID_SkypeControlAPIAttach;
        UINT uiGlobal_MsgID_SkypeControlAPIDiscover;
        HWND hGlobal_SkypeAPIWindowHandle;
        bool volatile fGlobal_DumpWindowsMessages;
        DWORD ulGlobal_PromptConsoleMode;
        HANDLE volatile hGlobal_PromptConsoleHandle;

        enum {
            SKYPECONTROLAPI_ATTACH_SUCCESS=0,								// Client is successfully attached and API window handle can be found in wParam parameter
            SKYPECONTROLAPI_ATTACH_PENDING_AUTHORIZATION=1,	// Skype has acknowledged connection request and is waiting for confirmation from the user.
																									// The client is not yet attached and should wait for SKYPECONTROLAPI_ATTACH_SUCCESS message
            SKYPECONTROLAPI_ATTACH_REFUSED=2,								// User has explicitly denied access to client
            SKYPECONTROLAPI_ATTACH_NOT_AVAILABLE=3,					// API is not available at the moment. For example, this happens when no user is currently logged in.
																									// Client should wait for SKYPECONTROLAPI_ATTACH_API_AVAILABLE broadcast before making any further
																									// connection attempts.
            SKYPECONTROLAPI_ATTACH_API_AVAILABLE=0x8001
        };
        */
};



#endif // SKYPE_H

